/**
 * 로그인/로그아웃처리
 */
function titleInit(){
	var btnLogin;
	var btnLogout;
	
	btnLogin = document.getElementById('btnLogin');
	btnLogout = document.getElementById('btnLogout');
	
	if(login!=null){
		login.onclick=function(){
			var f = document.frm;
			if(f.mid.value == '' || f.pwd.value==''){
				alert('아이디와 암호를 입력하길...');
			}else{
				f.submit();
			}
			location.href="member/login.jsp";
		}
	}
	if(logoout!=null){
		logoout.onclick=function(){
			location.href="member/logoout.jsp";
		}
	}
}